package com.alan.service;

import com.alan.domain.ResponseResult;
import com.alan.domain.entity.Article;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 文章表(Article)表服务接口
 *
 * @author makejava
 * @since 2022-09-12 14:32:16
 */
public interface ArticleService extends IService<Article> {

    ResponseResult hotArticleList();

    ResponseResult articleList(Integer pageNum, Integer pageSize, Long categoryId);

    ResponseResult getArticleDetail(Integer id);

    ResponseResult updateViewCount(Long id);
}

